import Vue from 'vue';
import App from './App.vue';
import router from './route/index';
import store from './store/main';

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.config.productionTip = false;

Vue.directive('focus', {
	inserted: function (el) {
		el.focus();
	},
});

Vue.use(ElementUI);

new Vue({
	router,
	store,
	render: (h) => h(App),
}).$mount('#app');
